<template>
  <div class="home-page">
    <div class="swiper-container" :style="{'height':swiperHeight+'px'}">
      <div class="sanjiao">
        <img src="../../assets/sanjiao.png" alt="">
        <img src="../../assets/down.png" alt="" class="down-jiantou">
      </div>
      <div class="swiper-wrapper">
        <div class="swiper-slide box1">
          <div>
            <span>格林威治大学国际学院是国际学生<br>攻读英国大学学位课程的理想起点。</span>
            <!--            <span>牛津学院</span>-->

          </div>
        </div>

      </div>
      <!-- Add Pagination -->
      <!--      <div class="swiper-pagination"></div>-->
      <div class="swiper-button-next"></div>
      <div class="swiper-button-prev"></div>
    </div>

    <div class="main-center">
      <h1 style="text-align: center;margin-top: 50px">格林威治大学</h1>
      <div>
        <img src="../../assets/greenwich/greenwich-01-1024x545.png" alt="" style="width: 275px;display: block;margin: 0 auto">
      </div>
      <div class="details">
        <p>格林威治大学国际学院（UGIC）是一所嵌入式学院，位于伦敦格林威治大学的主校区。</p>
        <p>UGIC提供国际联合本科课程和国际联合硕士课程第一阶段的教育。顺利完成UGIC第一阶段的学习以后，学生可直接进入格林威治大学继续学业。</p>
        <p>UGIC教授学生学习技能、英语语言知识和国际学生要达成学术目标和未来职业生涯发展目标所必备的学业知识。</p>
        <p>格林威治大学建于1890年，坐落在伦敦泰晤士河畔。格林威治大学是大学联盟的一员，获得教学卓越框架银奖。其著名研究成果获全球认可，曾获得九个泰晤士高等教育奖和四个高等和继续教育女王周年奖。</p>
        <p style="margin-bottom: 0"><strong style="font-size: 22px;">UGIC课程</strong></p>
        <p style="margin-top: 0">国际联合本科课程本科预科</p>
        <ul style="margin-top: -10px">
          <li>- 商学与管理学</li>
          <li>- 计算机学</li>
          <li>- 工程学</li>
          <li>- 科学</li>
          <li>- 社会科学和法学</li>
        </ul>
        <p>国际联合本科课程国际大一</p>
        <ul style="margin-top: -10px">
          <li>- 商学与管理学</li>
          <li>- 工程学</li>
        </ul>
        <p>国际联合硕士课程</p>
        <ul style="margin-top: -10px">
          <li>- 商学与管理学（1学期制或2学期制）</li>
        </ul>
        <p>英语先修班</p>
        <ul style="margin-top: -10px">
          <li>- 雅思成绩为5分的学生（单项成绩不低于4.5）：6周英语先修班</li>
          <li>- 雅思成绩为4.5分的学生（单项成绩不低于4.0）：12周英语先修班</li>
        </ul>
        <p><strong style="font-size: 22px;">线上硕士预科课程和英语先修班费用</strong></p>
        <p><strong>如何付款</strong></p>
        <p>您的学费明细将在录取通知书上列明，通过电子邮件发送。</p>
        <p>学费可通过银行转账、借记卡或信用卡在线支付。</p>
        <p>您可以<a href="https://www.flywire.com/pay/oxfordinternational/"><strong>点击这里</strong></a>使用我们的在线支付工具支付您的线上硕士预科课程或英语先修班费用</p>
        <p>如欲了解更多有关费用和申请流程的信息，请<a href="https://www.gre.ac.uk/international/ugic"><strong>点击这里</strong></a>访问UGIC学院网站</p>
      </div>
    </div>

  </div>
</template>

<script>
  import swiper from '../../assets/swiper/swiper-bundle.min'
  export default {
    name: "index",
    created() {
      let H = window.innerHeight

      this.swiperHeight = H
    },
    mounted() {
      var swiper = new Swiper('.swiper-container', {
        // spaceBetween: 30,
        centeredSlides: true,
        /*autoplay: {
          delay: 2500,
          disableOnInteraction: false,
        },*/
        pagination: {
          el: '.swiper-pagination',
          clickable: true,
        },
        navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev',
        },
      });
    }
  }
</script>

<style scoped lang="scss">
  .main-center {
    max-width: 1200px;
    margin: 0 auto;
  }

  .swiper-container {
    width: 100%;
    height: 1000px;
    position: relative;
  }

  .sanjiao {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    z-index: 222;

    img {
      width: 120px;
      display: block;
    }

    span {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 0;
      display: block;
      text-align: center;
      color: #303030;
      z-index: 999;
    }

    .down-jiantou {
      position: absolute;
      left: 50%;
      margin-left: -19px;
      bottom: 9px;
      width: 38px;
      animation: shangxia 0.7s linear infinite;
    }
    @keyframes shangxia {
      0% {bottom: 9px}
      50%{bottom: 3px}
      100%{bottom: 9px}
    }
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .swiper-slide > div:nth-of-type(1) {
    margin: 60px 0;
    margin-bottom: 35px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .65);
    padding: 20px 35px;
  }

  .swiper-slide > div:nth-of-type(1) span:nth-of-type(1) {
    font-size: 17px;
    color: #303030;
    margin-bottom: 20px;
    line-height: 34px;
  }

  .swiper-slide > div:nth-of-type(1) span:nth-of-type(2) {
    font-size: 25px;
    font-weight: bold;
    color: #303030;
  }

  .swiper-slide > div:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    padding: 10px 40px;
    background: rgba(255, 255, 255, .65);
    transition: all .4s ease;
    cursor: pointer;
  }

  .swiper-slide > div:nth-of-type(2) span {


    line-height: 32px;
    font-size: 18px;
    color: #303030;
  }

  .swiper-slide > div:nth-of-type(2):hover {
    background: #3281c4;
  }

  .box {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .box1 {
    background: url("../../assets/greenwich/ugic.jpg") no-repeat center top;
    background-size: 100% auto;
  }

  .box2 {
    background: url("../../assets/UP-2.jpg") no-repeat center center;
  }

  .box3 {
    background: url("../../assets/UP-3.jpg") no-repeat center center;
  }

  .box4 {
    background: url("../../assets/UP-4.jpg") no-repeat center center;
  }
  .details{
    font-size: 18px;
    line-height: 36px;
    color: #303030;
    padding-bottom: 100px;
    a{
      text-decoration: none;
      color: #303030;
    }
  }
</style>
